﻿/**************************************************************************
创建时间:	2020/8/27 15:30:01    
作	  者:	张存
邮 	  箱:	zhangcunliang@126.com

Copyright (c) ASmile.cn

描	述：
记	录：
***************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASmile.Com
{
    public class UserLoginArg
    {
        public string LoginName { set; get; }

        public string LoginPwd { set; get; }

        public string VerifyCode { get; set; }
        /// <summary>
        /// 客户端签名,客户端设置的标识
        /// </summary>
        public string ClientId { set; get; }
    }

    public class UserLoginRet
    {
        public string Token { get; set; }

        public string UserId { set; get; }

        public string UserName { get; set; }

        public string DeptId { set; get; }

        public string DeptName { set; get; }

        public string RoleId { set; get; }

        public string RoleName { set; get; }

        public bool IsManager { get; set; }

        public DateTime ExpiresTime { get; set; }
    }

    public class User_ChangePwd
    {
        public string OldPwd { set; get; }

        public string NewPwd1 { set; get; }

        public string NewPwd2 { set; get; }
    }
}